[INFO] cloning repository https://github.com/ashfordneil/heimdall
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashfordneil/heimdall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8de65b6ff1e719d1c731222b4e87189368e2cbda
[INFO] building ashfordneil/heimdall against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashfordneil%2Fheimdall" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ashfordneil/heimdall on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ashfordneil/heimdall
[INFO] finished tweaking git repo https://github.com/ashfordneil/heimdall
[INFO] tweaked toml for git repo https://github.com/ashfordneil/heimdall written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/ashfordneil/heimdall already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ahash v0.4.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 43a9a5ac3618c7249e58fb231cb125502ccc6bdd7783d44dd948f25f23049480
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "43a9a5ac3618c7249e58fb231cb125502ccc6bdd7783d44dd948f25f23049480", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43a9a5ac3618c7249e58fb231cb125502ccc6bdd7783d44dd948f25f23049480", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43a9a5ac3618c7249e58fb231cb125502ccc6bdd7783d44dd948f25f23049480", kill_on_drop: false }`
[INFO] [stdout] 43a9a5ac3618c7249e58fb231cb125502ccc6bdd7783d44dd948f25f23049480
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad320e2e2ba88f3290075dc968c4b3efc66c3ee882598566d9a3ef826375b67d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ad320e2e2ba88f3290075dc968c4b3efc66c3ee882598566d9a3ef826375b67d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.20
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling errno v0.2.6
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling ahash v0.4.4
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling structopt v0.3.17
[INFO] [stderr]    Compiling heimdall v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/glob.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{ffi::OsStr, iter};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `either::Either`
[INFO] [stdout]  --> src/glob.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use either::Either;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/tree.rs:171:16
[INFO] [stdout]     |
[INFO] [stdout] 171 |             if (path.as_bytes() == b".gitignore" && file_type == FileType::Regular) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From<u32>` is not satisfied
[INFO] [stdout]    --> src/fs.rs:115:25
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ the trait `From<u32>` is not implemented for `fs::FileType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<fs::FileType>` for `u32`
[INFO] [stdout]     = note: required because of the requirements on the impl of `TryFrom<u32>` for `fs::FileType`
[INFO] [stdout]     = note: required by `try_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error`
[INFO] [stdout]    --> src/fs.rs:115:56
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                                                        ^ the trait `From<Infallible>` is not implemented for `error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <error::Error as From<std::io::Error>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fs::FileType: From<u32>` is not satisfied
[INFO] [stdout]    --> src/fs.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ the trait `From<u32>` is not implemented for `fs::FileType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<fs::FileType>` for `u32`
[INFO] [stdout]     = note: required because of the requirements on the impl of `TryFrom<u32>` for `fs::FileType`
[INFO] [stdout]     = note: required by `try_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error`
[INFO] [stdout]    --> src/fs.rs:133:56
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let file_type = FileType::try_from(buf.st_mode)?;
[INFO] [stdout]     |                                                        ^ the trait `From<Infallible>` is not implemented for `error::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <error::Error as From<std::io::Error>>
[INFO] [stdout]     = note: required by `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `heimdall`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ad320e2e2ba88f3290075dc968c4b3efc66c3ee882598566d9a3ef826375b67d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad320e2e2ba88f3290075dc968c4b3efc66c3ee882598566d9a3ef826375b67d", kill_on_drop: false }`
[INFO] [stdout] ad320e2e2ba88f3290075dc968c4b3efc66c3ee882598566d9a3ef826375b67d
